package com.jinglin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jinglin.entity.po.UserFocus;

import java.util.List;

/**
 * <p>
 * focus_user_id是被关注的人。	user_id是发起关注的人。 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2025-03-29
 */
public interface UserFocusMapper extends BaseMapper<UserFocus> {

    List<UserFocus> getFocusList(String userId, Integer start, Integer pageSize);

    List<UserFocus> getFansList(String userFocusId, Integer start, Integer pageSize);

    Integer selectFansCount(String userId);
}
